package com.dd.cloud.user.res.order;

import cn.afterturn.easypoi.excel.annotation.Excel;
import lombok.Data;

import java.math.BigDecimal;
import java.time.LocalDateTime;

/**
 * @author Lx
 * @version 1.0
 */
@Data
public class OrderPresIncomeStatisticsExcelRes {
    /**
     * 序号
     */
    @Excel(name = "序号", orderNum = "1")
    private Integer no;

    /**
     * 月份
     */
    @Excel(name = "月份", orderNum = "2")
    private String month;

    /**
     * 起止日期
     */
    @Excel(name = "起止日期", orderNum = "3")
    private String startEndDate;

    /**
     * 药品收入
     */
    @Excel(name = "药品收入", orderNum = "4", isStatistics = true, numFormat = "#.##")
    private BigDecimal drugsFee;

    /**
     * 快递费收入
     */
    @Excel(name = "快递费收入", orderNum = "5", isStatistics = true, numFormat = "#.##")
    private BigDecimal expressFee;

    /**
     * 代煎费收入
     */
    @Excel(name = "代煎费收入", orderNum = "6", isStatistics = true, numFormat = "#.##")
    private BigDecimal fryingFee;

    /**
     * 合计收入
     */
    @Excel(name = "合计收入", orderNum = "7", isStatistics = true, numFormat = "#.##")
    private BigDecimal totalFee;

    /**
     * 更新时间
     */
    @Excel(name = "更新时间", orderNum = "8", exportFormat = "yyyy-MM-dd HH:mm", databaseFormat = "yyyy-MM-dd HH:mm")
    private LocalDateTime updateDate;
}
